package com.ruoyi.project.file.gallery.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 画廊记录对象 file_gallery
 * 
 * @author zhangqidi
 * @date 2025-08-07
 */
public class FileGallery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 说明 */
    @Excel(name = "说明")
    private String content;

    /** 类型（1：图片，2：视频） */
    @Excel(name = "类型", readConverterExp = "1=：图片，2：视频")
    private Long galleryType;

    /** 共享类型（1：只有自己可见，2：公开） */
    @Excel(name = "共享类型", readConverterExp = "1=：只有自己可见，2：公开")
    private Long shareType;

    /** 状态（1：正常，2：其他） */
    @Excel(name = "状态", readConverterExp = "1=：正常，2：其他")
    private Long galleryStatus;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 是否删除(1：是，0：否) */
    @Excel(name = "是否删除(1：是，0：否)")
    private Long izDeleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setGalleryType(Long galleryType) 
    {
        this.galleryType = galleryType;
    }

    public Long getGalleryType() 
    {
        return galleryType;
    }

    public void setShareType(Long shareType) 
    {
        this.shareType = shareType;
    }

    public Long getShareType() 
    {
        return shareType;
    }

    public void setGalleryStatus(Long galleryStatus) 
    {
        this.galleryStatus = galleryStatus;
    }

    public Long getGalleryStatus() 
    {
        return galleryStatus;
    }

    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }

    public void setIzDeleted(Long izDeleted) 
    {
        this.izDeleted = izDeleted;
    }

    public Long getIzDeleted() 
    {
        return izDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("galleryType", getGalleryType())
            .append("shareType", getShareType())
            .append("galleryStatus", getGalleryStatus())
            .append("recordDate", getRecordDate())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("izDeleted", getIzDeleted())
            .toString();
    }
}
